<?php


namespace net\Curl;


class Curl
{
    public $curl;

    public function __construct($base_url = null)
    {
        if(!extension_loaded('curl')){
            throw new \ErrorException("cURL library is not loaded");
        }

        $this->curl = curl_init();
    }
}